package com.bean;

import lombok.*;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author WZ
 * @version 1.0
 * @date 2021/8/30 17:30
 */
@Component
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@ConfigurationProperties(prefix = "mycar")
public class Car {

    private String brand;
    private  Integer price;


}
